Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was written by a Codex cloud task for Max. No session owns it yet.
It builds on the weight-preservation work in #336 and the fail-closed behavior tracked in #333.
Preserve row weights when pandas reindexes both axes and preserve missing weights on matched merge rows. Reject direct pandas merges that can silently reset weights and add six regression cases.
The synthetic row oracle checked 18,060 single-operation and two-operation cases per pandas version. The patched checkout produced zero wrong-weight or plain-pandas results on pandas 2.3.3 and 3.1.1.
The focused suite passed all 99 tests on both versions. The full suite passed 858 tests on pandas 2.3.3. On pandas 3.1.1 it passed 848 tests and reproduced the same ten pre-existing binary-ufunc failures as main. Lint and git diff checks passed.
Validation ran on Linux with Python 3.12.14. The aggregation and construction paths already tracked in #336 and #333 were outside this audit.
Opened by a Codex cloud task (queue file 4007-microdf-audit-verify-pandas-row-operations-keep-each-w).